#ifndef GLOBAL_H
#define GLOBAL_H

#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>

#include "../camera/Camera.hpp"
#include "../../game/object/Player.h"
#include "../World.hpp"

class Global {
    private:
        static World* world;
        static Camera* camera;
        static Player* player;
        static sf::RenderWindow* window;

    public:
        static World* getWorld();
        static void setWorld(World*);

        static Camera* getCamera();
        static void setCamera(Camera*);

        static Player* getPlayer();
        static void setPlayer(Player*);

        static sf::RenderWindow* getWindow();
        static void setWindow(sf::RenderWindow*);

        static float randomFloat(float, float);
};

#endif // GLOBAL_H
